// 27 更多 100
export default {
  path: '/more',
  name: 'more',
  icon: 'gold',
  authority: ['business:antd:more'],
  // 客服
  routes: [
    {
      path: '/more/annualbasic',
      name: 'annualbasic',
      authority: ['cs:more:annCollect'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/annualbasic',
          redirect: '/more/annualbasic/index',
        },
        {
          path: '/more/annualbasic/index',
          component: './More/AnnualBasis/IndexCs',
        },
        // {
        //   path: '/more/annualbasic/add',
        //   name: 'add',
        //   component: './More/AnnualBasis/Add',
        // },

        // {
        //   path: '/more/annualbasic/update',
        //   name: 'update',
        //   component: './More/AnnualBasis/Add',
        // },
        {
          path: '/more/annualbasic/detail',
          name: 'detail',
          component: './More/AnnualBasis/Detail',
        },
        {
          path: '/more/annualbasic/progress',
          name: 'progress',
          component: './More/AnnualBasis/Progress',
        },
      ],
    },
    // 政策

    {
      path: '/more/bigaccomanage',
      name: 'bigaccomanage',
      authority: ['business:account:accu'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/bigaccomanage',
          redirect: '/more/bigaccomanage/index',
        },
        {
          path: '/more/bigaccomanage/index',
          component: './PayAccoManage/BigAccoManage/Index',
        },
        {
          path: '/more/bigaccomanage/addins',
          component: './PayAccoManage/BigAccoManage/SocialWareAdd',
        },
        {
          path: '/more/bigaccomanage/addaccu',
          component: './PayAccoManage/BigAccoManage/AccuWareAdd',
        },
        {
          path: '/more/bigaccomanage/addinjury',
          component: './PayAccoManage/BigAccoManage/InjuryAdd',
        },
        {
          path: '/more/bigaccomanage/detailins',
          component: './PayAccoManage/BigAccoManage/SocialDetail',
        },
        {
          path: '/more/bigaccomanage/detailaccu',
          component: './PayAccoManage/BigAccoManage/AccuWareDetail',
        },
        {
          path: '/more/bigaccomanage/detailinjury',
          component: './PayAccoManage/BigAccoManage/InjuryDetail',
        },
        {
          path: '/more/bigaccomanage/editins',
          component: './PayAccoManage/BigAccoManage/SocialWareAdd',
        },
        {
          path: '/more/bigaccomanage/editaccu',
          component: './PayAccoManage/BigAccoManage/AccuWareEdit',
        },
        {
          path: '/more/bigaccomanage/editinjury',
          component: './PayAccoManage/BigAccoManage/InjuryEdit',
        },
        {
          path: '/more/bigaccomanage/injurybatch',
          component: './PayAccoManage/BigAccoManage/InjuryBatch',
        },
      ],
    },
    // 平台，自主---本地
    {
      path: '/more/localannualbasic',
      name: 'localannualbasic',
      authority: ['ns:more:annLocAdj'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/localannualbasic',
          redirect: '/more/localannualbasic/index',
        },
        {
          path: '/more/localannualbasic/index',
          component: './More/AnnualBasis/IndexLocal',
        },

        {
          path: '/more/localannualbasic/add',
          name: 'add',
          component: './More/AnnualBasis/Add',
        },
        {
          path: '/more/localannualbasic/detail',
          component: './More/AnnualBasis/Detail',
        },
      ],
    },
    // 平台供应商 接单 --原型：本地基数调整
    // {
    //   path: '/more/localannualbasic',
    //   name: 'localannualbasic',
    //   // authority: ['business:more:policy'],
    //   hideChildrenInMenu: true,
    //   routes: [
    //     {
    //       path: '/more/localannualbasic',
    //       redirect: '/more/localannualbasic/index',
    //     },
    //     // 接单 --原型：本地基数调整
    //     {
    //       path: '/more/localannualbasic/index',
    //       // name: 'list',
    //       component: './More/AnnualBasis/Index',
    //     },
    //     // 发单 --原型：供应商基数调整
    //     {
    //       path: '/more/localannualbasic/index',
    //       // name: 'list',
    //       component: './More/AnnualBasis/Index',
    //     },
    //   ],
    // },
    // 平台供应商 发单 --原型：本地基数调整
    {
      path: '/more/sendannualbasic',
      name: 'sendannualbasic',
      authority: ['ns:more:annSuppAdj'],
      hideChildrenInMenu: true,
      routes: [
        // 发单 --原型：供应商基数调整
        {
          path: '/more/sendannualbasic',
          redirect: '/more/sendannualbasic/index',
        },
        {
          path: '/more/sendannualbasic/index',
          component: './More/AnnualBasis/IndexSend',
        },
        {
          path: '/more/sendannualbasic/detail',
          component: './More/AnnualBasis/Detail',
        },
      ],
    },
    // 政策
    {
      path: '/more/policyprotect',
      name: 'policyprotect',
      authority: ['mgr:more:policy'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/policyprotect',
          redirect: '/more/policyprotect/index',
        },
        {
          path: '/more/policyprotect/index',
          component: './More/Policy/Index',
        },
        {
          path: '/more/policyprotect/foundAdd',
          name: 'foundAdd',
          component: './More/Policy/FoundAdd',
        },
        {
          path: '/more/policyprotect/add',
          name: 'add',
          component: './More/Policy/Progress',
        },
        {
          path: '/more/policyprotect/edit',
          name: 'update',
          component: './More/Policy/Progressedit',
        },
        {
          path: '/more/policyprotect/foundDetail',
          name: 'detail',
          component: './More/Policy/FoundDetail',
        },
        {
          path: '/more/policyprotect/foundEdit',
          name: 'update',
          component: './More/Policy/FoundEdit',
        },
        {
          path: '/more/policyprotect/detail',
          name: 'detail',
          component: './More/Policy/Detail',
        },
      ],
    },
    {
      path: '/more/singleaccount',
      name: 'singleaccount',
      authority: ['business:account:acco'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/singleaccount',
          redirect: '/more/singleaccount/index',
        },
        {
          path: '/more/singleaccount/index',
          component: './CustomerServiceManage/SingleManage/Index',
        },
        {
          path: '/more/singleaccount/insdetail',
          name: 'insdetail',
          component: './CustomerServiceManage/SingleManage/InsDetail',
        },
        {
          path: '/more/singleaccount/accudetail',
          name: 'accudetail',
          component: './CustomerServiceManage/SingleManage/AccuDetail',
        },
      ],
    },
    // 运行
    {
      path: '/more/annualbasicadjust',
      name: 'annualbasicadjust',
      authority: ['os:more:annAdj'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/annualbasicadjust',
          redirect: '/more/annualbasicadjust/index',
        },
        {
          path: '/more/annualbasicadjust/index',
          component: './More/AnnualBasis/IndexOs',
        },

        {
          path: '/more/annualbasicadjust/add',
          name: 'add',
          component: './More/AnnualBasis/Add',
        },

        {
          path: '/more/annualbasicadjust/update',
          name: 'update',
          component: './More/AnnualBasis/Add',
        },
        {
          path: '/more/annualbasicadjust/detail',
          name: 'detail',
          component: './More/AnnualBasis/Detail',
        },
        {
          path: '/more/annualbasicadjust/progress',
          name: 'progress',
          component: './More/AnnualBasis/Progress',
        },
        {
          path: '/more/annualbasicadjust/importdecl',
          name: 'importdecl',
          component: './More/AnnualBasis/ImportDecl',
        },
        {
          path: '/more/annualbasicadjust/importdeclprogress',
          name: 'importdeclprogress',
          component: './More/AnnualBasis/ImportDeclProgress',
        },
        {
          path: '/more/annualbasicadjust/updateinfo',
          name: 'updateinfo',
          component: './More/AnnualBasis/UpdateInfoProgress',
        },
      ],
    },
    {
      path: '/more/paramquery',
      name: 'paramquery',
      component: './404',
      authority: ['os:more:paramquery'],
    },
    // {
    //   path: '/more/cardcoll',
    //   name: 'cardcoll',
    //   component: './404',
    //   authority: ['business:more:cardinal'],
    // },
    {
      path: '/more/substi',
      name: 'substi',
      component: './404',
      authority: ['mgr:more:substi'],
    },
    {
      path: '/more/message',
      name: 'message',
      authority: ['business:more:message'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/message',
          redirect: '/more/message/index',
        },
        {
          path: '/more/message/index',

          component: './More/TipNotice/Index',
        },
      ],
    },
    {
      path: '/more/setting',
      name: 'setting',
      component: './More/setting/Info',
      authority: ['business:more:setting'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/more/setting',
          redirect: '/more/setting/base',
        },
        {
          path: '/more/setting/base',
          component: './More/setting/BaseView',
        },
        {
          path: '/more/setting/security',
          component: './More/setting/SecurityView',
        },
      ],
    },
  ],
};
